﻿using System;
using System.ComponentModel;

namespace dPet.Domain.Models
{
	[Flags]
	public enum Privileges
	{
		[Description("票据模板配置")]
		BillTemplateConfig = 1,

		[Description("商品类别管理")]
		ProductCategoryManagement = 2,

		[Description("商品管理")]
		ProductManagement = 4,

		[Description("商品入库")]
		AddInventory = 8,

		[Description("商品入库记录")]
		InventoryBatchRecords = 16,

		[Description("报损报溢记录")]
		InventoryLORecords = 32,

		[Description("销售订单管理")]
		SaleOrderManagement = 64,

		[Description("服务类别管理")]
		ServiceCategoryManagement = 128,

		[Description("服务项管理")]
		ServiceItemManagement = 256,

		[Description("服务SKU属性管理")]
		ServiceSKUPropertyManagement = 512,

		[Description("服务订单管理")]
		ServiceOrderManagement = 1024,
	}
}
